1: | app(app(map,f),nil) | → nil | |
2: | app(app(map,f),app(app(cons,x),xs)) | → app(app(cons,app(f,x)),app(app(map,f),xs)) | |
3: | APP(app(map,f),app(app(cons,x),xs)) | → APP(app(cons,app(f,x)),app(app(map,f),xs)) | |
4: | APP(app(map,f),app(app(cons,x),xs)) | → APP(cons,app(f,x)) | |
5: | APP(app(map,f),app(app(cons,x),xs)) | → APP(f,x) | |
6: | APP(app(map,f),app(app(cons,x),xs)) | → APP(app(map,f),xs) | |